package org.jeecg.modules.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.system.entity.SysDepart;
import org.jeecg.modules.system.entity.SysUserDepart;
import org.jeecg.modules.system.model.SysUserSysDepartModel;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 首页大盘统计VO
 * @author yaojia
 * @since 2024-08-21 09:49
 **/
@Data
@ApiModel(value = "首页大盘统计VO", description = "首页大盘统计VO")
public class SysStatisticsVO implements Serializable {

    private static final long serialVersionUID = 845005267760973541L;

    @ApiModelProperty(value = "企业总人数")
    Integer departUserCount;
    @ApiModelProperty(value = "企业额定员额数")
    Integer memberCount;
    @ApiModelProperty(value = "企业空缺编制数")
    Integer memberDiffCount;
    @ApiModelProperty(value = "每个企业多少人")
    Map<String,List<SysUserDepart>> userCountGroupByDepartMap;
    @ApiModelProperty(value = "一共有多少个企业")
    List<SysDepart> departCount;

    @ApiModelProperty(value = "按照depId查询 指定部门下总人数")
    Long userCountByDepart;

    @ApiModelProperty(value = "按照depId查询 每个部门的用户")
    Map<String,List<SysUserSysDepartModel>> departUserMap;

    @ApiModelProperty(value = "按照depId查询 各学历人数")
    List<NameValueVo> fullTimeEducationCount;

    @ApiModelProperty(value = "企业人数柱状图数据")
    List<OrgColumnVo> orgColumnList;

    @ApiModelProperty(value = "企业人数柱状图name")
    String  orgColumnName;

}
